@import "./global";

#index {
  .master {
    img {
      display: block;
      width: 100%;
    }
  }
  .s1 {
    .act-header {
      line-height: 24+40px;
      font-size: 24px;
      padding-top: 10px;
      text-align: center;
    }
    .new-act {
      .tabs {
        display: flex;
        justify-content: space-between;
        .tab-item {
          width: ~'calc(33.333% - 5px)';
          font-size: 14px;
          line-height: 1.5;
          padding: 5px 0;
          border-bottom: 2px solid #999999;
          &.active {
            border-bottom-color: #0a83d7;
            color: #0a83d7;
          }
        }
      }
      .act-swiper {
        img {
          width: 100%;
          height: 290px;
        }
      }
      .swiper-pagination {
        position: relative;
        padding: 15px 0;
        .swiper-pagination-bullet {
          width: 10px;
          height: 10px;
          border-radius: 0;
          margin-right: 5px;
        }
      }
    }
    .sy-idea {
      .slogans {
        &.row {
          margin-left: -5px;
          margin-right: -5px;
          .col-xs-3 {
            padding-left: 5px;
            padding-right: 5px;
          }
        }
        .content {
          float: left;
          //width: 350px;
          width: 100%;
          height: 250px;
          padding: 15px;
          background: #f1f4f9;
          &:first-of-type {
            margin-left: 0;
          }
          &.active {
            background: #0a83d7;
          }
          h3 {
            margin-top: 10px;
            font-size: 30px;
            line-height: 70px;
          }
          p {color: #a6a7a8;}
        }
      }
    }
  }
  .s2 {
    margin-top: 20px;
    padding-top: 30px;
    background: #f1f4f9;
    .row {
      margin-left: -5px;
      margin-right: -5px;
      .col-xs-3,.col-xs-9 {
        padding-left: 5px;
        padding-right: 5px;
      }

    }
    .bm {
      background: @blue;
      padding: 20px;
      .title {
        font-size: 24px;
        line-height: 1;
        margin: 20px 0;
        color: #fff;
      }
      .tel {
        width: 100%;
        height: 46px;
        background: #fff;
        font-size: 0;
        i {
          font-size: 24px;
          width: 46px;
          height: 100%;
          line-height: 46px;
          text-align: center;
          vertical-align: top;
        }
        input {
          height: 100%;
          border: none;
          width: ~'calc(100% - 46px)';
          vertical-align: top;
          color: #333;
          font-size: 18px;
          text-indent: 20px;
        }
      }
      .button {
        margin-top: 15px;
        width: 100%;
        height: 60px;
        line-height: 60px;
        font-size: 20px;
        color: #fff;
        text-align: center;
        background: #46ccf2;
        cursor: pointer;
      }
    }
    .hot-act {
      padding: 0 20px 20px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .act-item {
        .img {
          width: 100%;
          height: 150px;
          font-size: 0;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .content {
          padding: 10px 0 15px 0;
          color: #808080;
        }
      }
    }
    .rank {
      padding: 0 20px 20px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .act-item {
        margin-bottom: 15px;
        .content {
          em {
            width: 24px;
            height: 24px;
            background: @blue;
            line-height: 24px;
            text-align: center;
            color: #fff;
          }
          .img {
            width: 160px;
            height: 100px;
            overflow: hidden;
            position: relative;
            margin: 0 5px;
            img {
              width: 100%;
            }
            .eyes {
              position: absolute;
              left: 20px;
              bottom: 15px;
              color: #fff;
              i {
                margin-right: 6px;
              }
            }
          }
          p {
            width: 40px;
            word-break: break-all;
          }
        }
        &.common {
          .content {
            em {
              background: #c0c0c0;
            }
            .txt {
              margin-left: 4px;
              width: 160px;
            }
            .eyes {
              color: #929292;
              i {
                margin-right: 6px;
              }
            }
          }
        }
      }
    }
    .loft {
      padding: 0 20px 50px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .act-item {
        line-height: 1.5;
        margin-top: 30px;
        .img {
          width: 90px;
          height: 90px;
          float: left;
          overflow: hidden;
          margin-right: 25px;
          font-size: 0;
        }
        h4 {
          margin: 0 0 10px;
          line-height: 26px;
        }
        p {
          font-size: 14px;
          color: #808080;
        }
      }
    }
    .loft-other {
      padding: 0 20px 50px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .tabs{
        margin: 20px 0;
        .tab {
          float: left;
          width: 33.3%;
          border-right: 1px solid #909090;
          box-sizing: border-box;
          color: #909090;
          font-size: 14px;
          &:last-of-type {
            border-right: none;
          }
          &.active {
            color: @blue;
          }
        }
      }
      .tab-content {
        line-height: 1.5;
        .des {
          color: #909090;
          margin-bottom: 30px;
        }
        .list {
          font-size: 0;
          img {
            width: 90px;
            height: 90px;
            margin-right: 5px;
            margin-bottom: 15px;
          }
        }
      }
    }
    .hot-recommends {
      padding: 0 20px 50px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .content {
        ul {
          padding-left: 20px;
          li {
            list-style: square;
            color: #eaeaea;
            a { color: #909090;}
          }
        }
      }
    }
    .other-banner {
      padding: 0 20px 50px;
      background: #fff;
      border-top: 1px solid #e0e0e0;
      .title {
        padding: 15px 0;
        border-bottom: 6px solid @blue;
        margin-bottom: 30px;
        h3 {
          font-size: 24px;
          margin: 0;
        }
        a {
          margin-top: 10px;
        }
      }
      .img-item {
        img {
          width: 100%;
          display: block;
          margin-bottom: 10px;
        }
      }
    }
    .main {
      .common-header{
        margin-bottom: 40px;
        .title {
          padding: 25px 0;
          font-size: 24px;
        }
        .options {
          .option {
            float: left;
            text-align: center;
            padding: 0 30px;
            color: #909090;
            border-right: 1px solid #6b6b6b;
            cursor: pointer;
            &.active {
              color: @blue;
            }
            &:first-of-type {
              text-align: left;
              padding-left: 0;
            }
            &:last-of-type {
              border-right: none;
            }
          }
        }
      }
      .case {
        .content {
          .cc {
            margin-bottom: 10px;
          }
          .case-item {
            position: relative;
            height: 100%;
            a {display: block; height: 100%}
            img {
              width: 100%;
              height: 100%;
            }
          }
          .txt-content {
            position: absolute;
            top: 30px;
            left: 30px;
            .t1 { font-size: 18px; color: #909090;}
            .t2 { font-size: 30px; color: #fff;}
            .t3 { color: @blue;}
          }
          .row {
            .c0 {
              width: 66.66%;
              padding: 0 5px;
              height: 470px;
            }
            .c1,.c2 {
              width: 33.33%;
              padding: 0 5px;
              height: 230px;
            }
            .c3,.c4,.c5 {
              width: 33.33%;
              padding: 0 5px;
              height: 470px;
            }
          }

        }
      }
      .designer {
        .content {
          .dd {
            margin-bottom: 10px;}
          .case-item {
            position: relative;
            height: 100%;
            a {display: block; height: 100%}
            img {
              width: 100%;
              height: 100%;
            }
          }
          .txt-content {
            position: absolute;
            top: 30px;
            left: 30px;
            .t1 { font-size: 18px; color: #909090;}
            .t2 { font-size: 30px; color: #fff;}
            .t3 { color: @blue;}
          }
          .c0,.c4 {
            width: 66.66%;
            padding: 0 5px;
            height: 470px;
          }
          .c1,.c2 {
            width: 33.33%;
            padding: 0 5px;
            height: 230px;
          }
          .c3 {
            width: 33.33%;
            padding: 0 5px;
            height: 470px;
          }
        }
      }
      .floor {
        margin-bottom: 30px;
        .content {
          .case-item {
            position: relative;
            &:hover {
              .txt-content {
                display: flex;
              }
            }
            .txt-content {
              display: none;
              position: absolute;
              color: #fff;
              width: 100%;
              height: 100%;
              top: 0;
              left: 0;
              background: rgba(255,255,255,.4);
              justify-content: center;
              align-items: center;
              .txt {}
              .t1 { font-size: 18px; color: #fff;}
              .t2 { font-size: 30px; color: #fff;}
            }
          }
          .c1 {
            .case-item {
              height: 440px;
              margin-bottom: 10px;
              img {
                width: 100%;
                height: 100%;
              }
            }
          }
          .c2 {
            .case-item {
              margin-bottom: 10px;
              img {
                width: 100%;
                height: 100%;
              }
            }
          }
          .c4{
            .case-item {
              height: 470px;
              margin-bottom: 10px;
              img {
                width: 100%;
                height: 100%;
              }
            }
          }
        }
      }
    }
  }
  .s3 {
    background: #003153;
    .title {
      margin: 34px 0;
      height: 50px;
      line-height: 50px;
      text-align: center;
      color: #fff;
      font-size: 24px;
      select {
        height: 100%;
        width: 20%;
      }
    }
    .content {
      img { display: block; width: 100%;}
      .ms {
        float: left;
      }
      .ms-2 {
        width: ~'calc(20% - 10px)';
        height: 300px;
        margin: 0 5px 20px;
        background: #fff;
      }
      .ms-8 {
        width: 80%;
        .ms-2 {
          width: ~'calc(25% - 10px)';
        }
      }
      .areas {
        padding: 20px 30px;
        background: #fff;
        dt {
          margin-bottom: 20px;font-size: 20px;
        }
        dd {
          margin-bottom: 15px;
          &.common {
            em:first-of-type {
              background: #eee;
            }
          }
          em { float: left;
            &:first-of-type {
              line-height: 25px;
              text-align: center;
              background: @blue;
              margin-right: 6px;
              color: #fff;
              width: 25px;
              height: 25px;
            }
            &:last-of-type {
              color: @blue;
              margin-left: 6px;
            }
          }
        }
      }
      .site-list {
        .ms-2 {
          .content {
            padding: 25px;
            .header {
              margin-bottom: 15px;
              em { color: @blue;}
              i {
                margin-right: 6px;}
            }
            p {
              color: #808080;
            }
          }
        }
      }
    }
  }
  .s4 {
    padding: 50px 0;
    background: #0a83d6;
    img { width: 100%; display: block;}
    .l1 {
      margin-bottom: 10px;
    }
  }
  .s5 {
    padding: 90px 0;
    dt {
      font-size: 18px;
      margin-bottom: 34px;
    }
    .col-xs-4 {
      box-sizing: border-box;
      border-right: 2px solid #999999;
      height: 240px;
    }
    .vedio {
      width: 330px;
      margin: 0 auto;
      dd {
        height: 160px;
      }
      img { width: 100%; height: 100%;  display: block;}
    }
    .article {
      padding: 0 50px;
      .img {
        width: 150px;
        height: 90px;
        margin-right: 30px;
        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
    .news {
      padding-left: 50px;
      ul { padding-left: 20px;}
      li {
        list-style: square;
        color: #333;

      }
      a {color: #333;}
    }
  }
}
